<?php
$GLOBALS['G'] += array(
	'gem_max_lvl' => 10, //宝石最高等级
	'gem_lvl_val' => array(
		1 => 1,
		2 => 2,
		3 => 3,
		4 => 4,
		5 => 5,
		6 => 6,
		7 => 7,
		8 => 8,
		9 => 9,
		10 => 10,
	),
	// 宝石合成成功率
	'gem_mix_success_rate' => array(
		// 等级 => 成功率
		1 => 100,
		2 => 100,
		3 => 100,
		4 => 90,
		5 => 80,
		6 => 70,
		7 => 60,
		8 => 50,
		9 => 40,
	),
	// 合成消费的金钱
	'gem_mix_need_coin' => array(
		// 等级 => 金钱
		1 => 100,
		2 => 500,
		3 => 1000,
		4 => 2000,
		5 => 3000,
		6 => 4000,
		7 => 5000,
		8 => 6000,
		9 => 7000,
	),
	// 镶嵌消费的金钱
	'gem_inlay_need_coin' => array(
		// 等级 => 金钱
		1 => 100,
		2 => 500,
		3 => 1000,
		4 => 2000,
		5 => 3000,
		6 => 4000,
		7 => 5000,
		8 => 6000,
		9 => 7000,
		10 => 10000,
	),
);
// 宝石
return array (
	2201 => array (
		'title' => '红色宝石',
		'item_type' => 52,
		'lvl' => 0,// 等级1-10级不固定
		'stack' => 0,
		'color' => 1,
		'class'	=> 101,
		'add_attr_type' => array(// 增加属性类型
			4101,
			4102,
			4103,
			4104,
			4105,
			4106,
			4107,
			4108,
			4109,
		),
	),
	2202 => array (
		'title' => '黄色宝石',
		'item_type' => 52,
		'lvl' => 0,
		'stack' => 0,
		'color' => 5,
		'class'	=> 102,
		'add_attr_type' => array(
			4201,
			4202,
			4203,
			4204,
			4205,
			4206,
			4207,
			4208,
			4209,
		),
	),
	2203 => array (
		'title' => '绿色宝石',
		'item_type' => 52,
		'lvl' => 0,
		'stack' => 0,
		'color' => 2,
		'class'	=> 103,
		'add_attr_type' => array(
			4301,
			4302,
			4303,
			4304,
			4305,
			4306,
			4307,
			4308,
			4309,
		),
	),
);









